//
//  M_Coach.h
//  YunDongAdmin
//
//  Created by lqq on 2018/9/6.
//  Copyright © 2018年 cloudfighting.com. All rights reserved.
//

#import "M_Base.h"

/**
 教练类型
 */
typedef NS_ENUM(NSInteger, YDCoachRole) {
    YDCoachRoleType_Boss = 1,//老板
    YDCoachRoleType_HeadCoach = 2,//总教练
    YDCoachRoleType_NormalCoach = 3,//普通教练
    YDCoachRoleType_AuthCoach = 4,//认证教练
};

/**
 教练性别类型
 */
typedef NS_ENUM(NSInteger, CoachSexType) {
    CoachSexType_Male = 1,//男
    CoachSexType_Female = 2,//女
};

@protocol M_Coach

@end

@class M_Gym;

@interface M_Coach : M_Base
@property (nonatomic, copy) NSString *avatarRealUrl;//真实头像
@property (nonatomic, copy) NSString *avatarUrl;//头像
@property (nonatomic, copy) NSString *coachId;//教练ID
@property (nonatomic, copy) NSString *coachMobile;//手机号
@property (nonatomic, copy) NSString *coachName;//教练姓名
@property (nonatomic, copy) NSString *coachRealname;// 教练真实姓名
@property (nonatomic, assign) YDCoachRole coachRole;//教练角色: 1=普通教练 2=主管教练
@property (nonatomic, assign) CoachSexType coachSex;//1=男,2=女
@property (nonatomic, copy) NSString *coachTitle;// 教练职称
@property (nonatomic, assign) int memberCount;//会员数
@property (nonatomic, strong) M_Gym *gym;//所在门店
@property (nonatomic, strong) NSString *pinyin;

@end
